<%@ page import="Demo1.Dept" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Dept dept = (Dept)request.getAttribute("Dept");

%>
<html>
<head>
    <title>部门详情</title>
</head>
<body>
    <h1>部门详情</h1>
    <hr/>
部门编号:<%=dept.getDeptno()%><br/>
部门名称:<%=dept.getDname()%><br/>
部门位置:<%=dept.getLoc()%><br/>

<input type="button" value="后退" onclick="window.history.back()"/>
</body>
</html>
